import Vue from 'vue'
import Router from 'vue-router'
import four from "@/components/four/four"              //奖品管理
import six from "@/components/six/six"                 //奖品发放管理
import eight from "@/components/eight/eight"           //广告管理
import ten from "@/components/ten/ten"                 //企业信息
import eleven from "@/components/eleven/eleven"        //奖品详情
import first from "@/components/first/first"           //新增客源
import second from "@/components/second/second"           //异步互推合作
import third from "@/components/third/third"           //我的客源
import fourth from "@/components/fourth/fourth"           //我的客源
import fifth from "@/components/fifth/fifth"           //我的广告位
import sixth from "@/components/sixth/sixth"           //广告详情
import seventh from "@/components/seventh/seventh"           //AI新增销售线索
import eighth from "@/components/eighth/eighth"           //异业推广购买
import eighthlist from "@/components/eighth/eighthlist/eighthlist"           //异业推广购买
import twelfth from "@/components/twelfth/twelfth"           //隐私政策协议
import thirteenth from "@/components/thirteenth/thirteenth"           //服务协议
import fourteenth from "@/components/fourteenth/fourteenth"           //会员服务协议
import fifteenth from "@/components/fifteenth/fifteenth"           //开后门服务的评价
import sixteenth from "@/components/sixteenth/sixteenth"           //开后门的四个状态
import seventeenth from "@/components/seventeenth/seventeenth"           //个人评价详情
import eighteenth from "@/components/eighteenth/eighteenth"           //关于我们
import nineteenth from "@/components/nineteenth/nineteenth"           //开后门下载引导页
import money from "@/components/money/money"           //账户明细
import http from "@/components/http/http"           //协议
import sharea from "@/components/sharea/sharea"           //分享a(首页)
import shareb from "@/components/shareb/shareb"           //分享b(雷达)
import sharec from "@/components/sharec/sharec"           //关于广告位
import trade from "@/components/trade/trade"           //交易规则
import kybz from "@/components/kybz/kybz"           //分享a(首页)
import kol from "@/components/kol/kol"           //分享b(雷达)
import adv from "@/components/adv/adv"           //关于广告位
import welcome from "@/components/welcome/welcome"           //关于广告位
import fx from "@/components/fx/fx"           //关于广告位


Vue.use(Router)

export default new Router({
  routes: [
    {"path":"/four",component:four},
    {"path":"/six",component:six},
    {"path":"/eight",component:eight},
    {"path":"/ten",component:ten},
    {"path":"/eleven",component:eleven},
    {"path":"/first",component:first},
    {"path":"/second",component:second},
    {"path":"/third",component:third},
    {"path":"/fourth",component:fourth},
    {"path":"/fifth",component:fifth},
    {"path":"/sixth",component:sixth},
    {"path":"/seventh",component:seventh},
    {"path":"/eighth",component:eighth,children:[
      {"path":"/",redirect:"/eighthlist"},
      {"path":"/eighthlist",component:eighthlist}
    ]},
  {"path":"/twelfth",component:twelfth},
  {"path":"/thirteenth",component:thirteenth},
  {"path":"/fourteenth",component:fourteenth},
  {"path":"/fifteenth",component:fifteenth},
  {"path":"/sixteenth",component:sixteenth},
  {"path":"/seventeenth",component:seventeenth},
  {"path":"/eighteenth",component:eighteenth},
  {"path":"/nineteenth",component:nineteenth},
  {"path":"/money",component:money},
  {"path":"/http",component:http,meta:{title: '协议'}},
  {"path":"/sharea",component:sharea},
  {"path":"/shareb",component:shareb},
  {"path":"/sharec",component:sharec},
  {"path":"/trade",component:trade},
  {"path":"/kybz",component:kybz},
  {"path":"/kol",component:kol,meta:{title: '做最好的业绩'}},
  {"path":"/adv",component:adv},
  {"path":"/welcome",component:welcome,meta:{title: '欢迎使用'}},
  {"path":"/fx",component:fx,meta:{title: '收藏了,附近让你走后门的100家吃喝玩乐门店!'}}
  ]
})
